package cn.school.system.domain;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import cn.school.common.annotation.Excel;
import cn.school.common.core.domain.BaseEntity;

/**
 * 抽取的纸条信息对象 bi_extract_paper
 *
 * @author ruoyi
 * @date 2023-12-26
 */
@Data
public class BiExtractPaper extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 微信openid */
    @Excel(name = "微信openid")
    private String openid;

    /** 状态 */
    @Excel(name = "状态")
    private Integer status;

    /** 纸条id */
    @Excel(name = "纸条id")
    private Long paperId;

    /** 订单id */
    @Excel(name = "订单id")
    private Long orderId;

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("openid", getOpenid())
            .append("status", getStatus())
            .append("paperId", getPaperId())
                .append("orderId", getOrderId())
            .toString();
    }
}
